-- GENERATED SPELL FOR [Frostwave Lieutenant] --


function spell0_26116(pUnit, Event) --@Frost Nova,Self--
pUnit:FullCastSpellOnTarget(122,pUnit)
pUnit:RegisterEvent('Sorts_26116', 8000, 1)
end

function Sorts_26116(pUnit, Event)
local choix_sorts_26116 = math.random(0, 0)
if choix_sorts_26116 == 0 then
pUnit:RegisterEvent('spell0_26116', 1, 1)
end
end

function mob26116_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26116', math.random(1500, 3000), 1)
end

function mob26116_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26116_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26116_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26116, 1, 'mob26116_Action')
RegisterUnitEvent(26116, 2, 'mob26116_Leave')
RegisterUnitEvent(26116, 3, 'mob26116_Kill')
RegisterUnitEvent(26116, 4, 'mob26116_Die')
